package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;

public interface FoodbatchfillerDAO extends JpaDao<Foodbatchfiller> {

	public Foodbatchfiller findFoodbatchfillerById(Integer id) throws DataAccessException;

	public Foodbatchfiller findFoodbatchfillerById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByName(String name) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByNameContaining(String name_1) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByQuantity(BigDecimal quantity) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByQuantity(BigDecimal quantity, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByDescription(String description) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillerByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Foodbatchfiller findFoodbatchfillerByPrimaryKey(Integer id) throws DataAccessException;

	public Foodbatchfiller findFoodbatchfillerByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillersByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Foodbatchfiller> findAllFoodbatchfillers() throws DataAccessException;

	public Set<Foodbatchfiller> findAllFoodbatchfillers(int startResult, int maxRows) throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillersByFiller(Integer fillerId, int start, int max);

	public Set<Foodbatchfiller> findFoodbatchfillersByFoodbatch(Integer foodbatchId, int start, int max);

	public Set<Foodbatchfiller> findFoodbatchfillersByUnit(Integer unitId, int start, int max);

	public Set<Foodbatchfiller> findFoodbatchfillerByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Foodbatchfiller> findFoodbatchfillersByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Foodbatchfiller findFoodbatchfillerByPhysicalPrimaryKey(Integer foodbatchId, Integer fillerId) throws DataAccessException;

	public Foodbatchfiller findFoodbatchfillerByPhysicalPrimaryKey(Integer foodbatchId, Integer fillerId,
			int startResult, int maxRows) throws DataAccessException;
}
